package model;

import java.sql.Timestamp;

/**
 * VDispatch entity. @author MyEclipse Persistence Tools
 */

public class VDispatch implements java.io.Serializable {

	// Fields

	private Integer dispatchid;
	private Integer transportid;
	private Integer lineid;
	private String origin;
	private String destination;
	private Integer transportstatus;
	private Timestamp time;
	private String userid;
	private String username;
	private Integer roleid;
	private String gender;
	private String age;
	private String pwd;
	private String phone;
	private Integer status;
	private Integer photoid;
	private Integer trunkid;
	private String trunkcode;
	private Integer trunkstatus;
	private Double temphigh;
	private Double templow;

	// Constructors

	/** default constructor */
	public VDispatch() {
	}

	/** minimal constructor */
	public VDispatch(Integer dispatchid, Integer transportid, Integer lineid,
			Integer transportstatus, String userid, Integer roleid,
			Integer trunkid, Double temphigh, Double templow) {
		this.dispatchid = dispatchid;
		this.transportid = transportid;
		this.lineid = lineid;
		this.transportstatus = transportstatus;
		this.userid = userid;
		this.roleid = roleid;
		this.trunkid = trunkid;
		this.temphigh = temphigh;
		this.templow = templow;
	}

	/** full constructor */
	public VDispatch(Integer dispatchid, Integer transportid, Integer lineid,
			String origin, String destination, Integer transportstatus,
			Timestamp time, String userid, String username, Integer roleid,
			String gender, String age, String pwd, String phone,
			Integer status, Integer photoid, Integer trunkid, String trunkcode,
			Integer trunkstatus, Double temphigh, Double templow) {
		this.dispatchid = dispatchid;
		this.transportid = transportid;
		this.lineid = lineid;
		this.origin = origin;
		this.destination = destination;
		this.transportstatus = transportstatus;
		this.time = time;
		this.userid = userid;
		this.username = username;
		this.roleid = roleid;
		this.gender = gender;
		this.age = age;
		this.pwd = pwd;
		this.phone = phone;
		this.status = status;
		this.photoid = photoid;
		this.trunkid = trunkid;
		this.trunkcode = trunkcode;
		this.trunkstatus = trunkstatus;
		this.temphigh = temphigh;
		this.templow = templow;
	}

	// Property accessors

	public Integer getDispatchid() {
		return this.dispatchid;
	}

	public void setDispatchid(Integer dispatchid) {
		this.dispatchid = dispatchid;
	}

	public Integer getTransportid() {
		return this.transportid;
	}

	public void setTransportid(Integer transportid) {
		this.transportid = transportid;
	}

	public Integer getLineid() {
		return this.lineid;
	}

	public void setLineid(Integer lineid) {
		this.lineid = lineid;
	}

	public String getOrigin() {
		return this.origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getDestination() {
		return this.destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public Integer getTransportstatus() {
		return this.transportstatus;
	}

	public void setTransportstatus(Integer transportstatus) {
		this.transportstatus = transportstatus;
	}

	public Timestamp getTime() {
		return this.time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getAge() {
		return this.age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPhotoid() {
		return this.photoid;
	}

	public void setPhotoid(Integer photoid) {
		this.photoid = photoid;
	}

	public Integer getTrunkid() {
		return this.trunkid;
	}

	public void setTrunkid(Integer trunkid) {
		this.trunkid = trunkid;
	}

	public String getTrunkcode() {
		return this.trunkcode;
	}

	public void setTrunkcode(String trunkcode) {
		this.trunkcode = trunkcode;
	}

	public Integer getTrunkstatus() {
		return this.trunkstatus;
	}

	public void setTrunkstatus(Integer trunkstatus) {
		this.trunkstatus = trunkstatus;
	}

	public Double getTemphigh() {
		return this.temphigh;
	}

	public void setTemphigh(Double temphigh) {
		this.temphigh = temphigh;
	}

	public Double getTemplow() {
		return this.templow;
	}

	public void setTemplow(Double templow) {
		this.templow = templow;
	}

}